package wzt.com.JiaBangMang.User;

public abstract class AbstractUserPermission implements INetUserPermission {

	public final String permission; 
	public AbstractUserPermission(String permissionName)
	{
		this.permission = permissionName;
	}
	
	@Override
	public String getPermission() {
		return this.permission;
	}

}

class UserPermissionNormal extends AbstractUserPermission{

	public UserPermissionNormal(String permissionName) {
		super(permissionName);
	}

	@Override
	public boolean validatePermission(INetUser user) {
		return true;
	}
	
}